package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问卷答案对象 az_health_question_answer
 * 
 * @author liuwp
 * @date 2025-07-29
 */
@Data
public class HealthQuestionAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 问题id */
    @Excel(name = "问题id")
    private Long questionId;

    /** 问题答案 */
    @Excel(name = "问题答案")
    private String questionAnswer;

    /** 补充答案1 */
    @Excel(name = "补充答案1")
    private String supplementAnswer1;

    /** 补充答案2 */
    @Excel(name = "补充答案2")
    private String supplementAnswer2;

    /** 补充答案3 */
    @Excel(name = "补充答案3")
    private String supplementAnswer3;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("questionAnswer", getQuestionAnswer())
            .append("supplementAnswer1", getSupplementAnswer1())
            .append("supplementAnswer2", getSupplementAnswer2())
            .append("supplementAnswer3", getSupplementAnswer3())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
